package com.groupbuying.orderproducer.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * 异常捕捉切面
 */
@Aspect
@Component
public class CathAspect {

    private Logger logger = LoggerFactory.getLogger(CathAspect.class);

    @Pointcut("@annotation(CathException)")
    public void annotationPointcut(){

    }

}
